package com.tempjob.app.dto;

import com.anwen.mongo.annotation.collection.CollectionField;
import com.anwen.mongo.annotation.collection.CollectionName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 系统角色
 *
 * @TableName sys_role
 */
@CollectionName(value = "publish_user_info")
@Data
public class PublishAuthenticationDTO implements Serializable {

    @ApiModelProperty("类型:1公司发布者2个体经营者3个人")
    @NotNull(message = "类型不能为空")
    private Integer type;

    @ApiModelProperty("是否就业援助基地")
    private Boolean employmentAssistance;

    @ApiModelProperty("联系人姓名")
    private String contactName;

    @ApiModelProperty("联系电话")
    private String contactPhone;

    @ApiModelProperty("联系地址")
    private String contactAddress;

    @ApiModelProperty("经度")
    private Double longitude;

    @ApiModelProperty("纬度")
    private Double latitude;

    @ApiModelProperty("身份证正面图片地址")
    private String identPortraitImg;

    @ApiModelProperty("身份证反面图片地址")
    private String identEmblemImg;

    @ApiModelProperty("营业执照图片，非个人招聘传")
    private String businessLicenseImg;

    @CollectionField("apply_desc")
    @ApiModelProperty("申请说明")
    private String applyDesc;

    @ApiModelProperty("所属行业编码")
    private String industryCategory;

}
